<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link type="text/css" rel="stylesheet" href="styles.css">
  <style type="text/css">
    .iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .main-content {
      position: fixed;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--backgroundColor1);
    }
  </style>
  <script type="text/javascript">
    const urlObject = new URL(window.location.href);
    document.addEventListener('DOMContentLoaded', () => {
      const iframe = document.querySelector('.iframe')
      iframe.src = urlObject.searchParams.get('src');
    })
  </script>
</head>

<body>
  <main class="main-content">
    <iframe class="iframe"></iframe>
  </main>
</body>

</html>